package com.boot.lxf.service;

import com.alibaba.dubbo.config.annotation.Reference;
import com.boot.lxf.response.UserDTO;
import org.springframework.stereotype.Component;

/**
 * Created by luoxf on 2018/9/18.
 */
@Component
public class UserConsumerQueryService {

    @Reference
    private UserDubboService userDubboService;

    public UserDTO getuser() {
        System.out.println("start");
        return userDubboService.getuser();
    }
}
